<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>Test in Browser</title>
		<script src="https://cdn.jsdelivr.net/npm/object-assign-polyfill@0.1.0/index.min.js"></script>
		<script src="./dist/immer.umd.js"></script>
	</head>
	<body>
		<script>
			try {
				const result = immer.produce(new Map([[1, 2]]), function(draft) {
					draft.set(1, 3)
				})

				console.log(result)
			} catch (err) {
				alert(err)
			}
		</script>
	</body>
</html>
